#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_install.dpatch by Mazen Neifer <mazen.neifer@supaero.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch adds launcher script, icons, and menu entry.

@DPATCH@
*** mseide-msegui-1.8.orig/install/mseide	1970-01-01 01:00:00.000000000 +0100
--- mseide-msegui-1.8/install/mseide	2008-05-23 22:58:00.000000000 +0200
***************
*** 0 ****
--- 1,18 ----
+ #!/bin/sh
+ 
+ # may be needed on some misconfigured X11 systems
+ #
+ #export LANG=ru_RU.UTF-8
+ 
+ /usr/lib/mseide-msegui/apps/ide/mseide '--macrodef=MSEDIR,/usr/lib/mseide-msegui/,MSELIBDIR,${MSEDIR}units/common/' &
+ 
+ # Other start options ( examples ):
+ #
+ #    --FONTALIAS=stf_default,Tahoma,12 => font replacements
+ #    --FONTALIAS=stf_menu,Tahoma,12
+ #    --FONTALIAS=stf_source,,11
+ #
+ #    --TOPLEVELRAISE => may be needed if started from recent IceWM
+ #    --NOZORDERHANDLING => alternative to TOPLEVELRAISE, less preferrable
+ 
+ exit 0
diff -N -c mseide-msegui-1.8.orig/install/mseide.desktop mseide-msegui-1.8/install/mseide.desktop
*** mseide-msegui-1.8.orig/install/mseide.desktop	1970-01-01 01:00:00.000000000 +0100
--- mseide-msegui-1.8/install/mseide.desktop	2008-08-17 14:52:56.000000000 +0200
***************
*** 0 ****
--- 1,12 ----
+ [Desktop Entry]
+ Encoding=UTF-8
+ Name=MSEide Free Pascal RAD
+ Name[ru]=MSEide: среда быстрой разработки программ на базе Free Pascal
+ Comment=Create and debug console and GUI applications
+ Comment[ru]=Создание и отладка консольных и оконных приложений
+ Exec=mseide
+ Icon=mseide
+ Terminal=false
+ Type=Application
+ Categories=Application;Development;
+ StartupNotify=false
diff -N -c mseide-msegui-1.8.orig/install/mseide-icewm mseide-msegui-1.8/install/mseide-icewm
*** mseide-msegui-1.8.orig/install/mseide-icewm	1970-01-01 01:00:00.000000000 +0100
--- mseide-msegui-1.8/install/mseide-icewm	2008-05-23 22:58:00.000000000 +0200
***************
*** 0 ****
--- 1,18 ----
+ #!/bin/sh
+ 
+ # may be needed on some misconfigured X11 systems
+ #
+ #export LANG=ru_RU.UTF-8
+ 
+ /usr/lib/mseide-msegui/apps/ide/mseide --TOPLEVELRAISE '--macrodef=MSEDIR,/usr/lib/mseide-msegui/,MSELIBDIR,${MSEDIR}units/common/' &
+ 
+ # Other start options ( examples ):
+ #
+ #    --FONTALIAS=stf_default,Tahoma,12 => font replacements
+ #    --FONTALIAS=stf_menu,Tahoma,12
+ #    --FONTALIAS=stf_source,,11
+ #
+ #    --TOPLEVELRAISE => may be needed if started from recent IceWM
+ #    --NOZORDERHANDLING => alternative to TOPLEVELRAISE, less preferrable
+ 
+ exit 0
